window.onload = function() {
    //后台管理按钮
    let $btn = $('.btn-info');
    $btn.on('click', function() {
        window.location.href = 'news?action=page&currPage=1'
    })

    //登录按钮
    let $login = $('.login-btn');
    $login.on('click', function() {
        window.location.href = 'login.jsp'
    })


}